package aaa;

import java.util.List;

import redis.clients.jedis.Jedis;

public class ttt {

	public static void main(String[] args) throws InterruptedException {

			new Thread(new Producers()).start();
			Thread.sleep(1000);
	          
	        //启动一个线程者线程，模拟任务的处理  
	        new Thread(new Consumer()).start();  
	          
	        //主线程休眠  
	        Thread.sleep(Long.MAX_VALUE);  
	    } 
	}

